package com.kun.pojo.entity;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;

@Getter
@Setter
@ToString
@NoArgsConstructor
public class MQEntity {
    private Long orderId;
    private Long couponId;
    private Long userId;
    private BigDecimal userMoney;
    private Long goodsId;
    private Integer goodsNum;

    public MQEntity(Long orderId, Long userId, BigDecimal userMoney, Long goodsId, Integer goodsNum, Long couponId) {
        this.orderId = orderId;
        this.couponId = couponId;
        this.userId = userId;
        this.userMoney = userMoney;
        this.goodsId = goodsId;
        this.goodsNum = goodsNum;
    }
}
